<!--
 * @Author: 刘鑫
 * @Date: 2020-11-10 16:55:57
 * @LastEditors: 刘鑫
 * @LastEditTime: 2020-11-11 14:00:09
 * @Description: 
-->
<template>
  <div class="three">
    <div class="list">
      <p v-for="item in arr" :key="item.id">
        <img :src="item.image" alt="" />
        <span>{{ item.name }}</span>
      </p>
    </div>
  </div>
</template>

<script>
export default {
  props: ["arr", "banner"],
};
</script>

<style lang='scss'>
.three {
  width: 100%;
  height: 100%;

  .list {
    width: 100%;
    height: 200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    p {
      width: 25%;
      height: 50px;
      display: flex;
      flex-wrap: wrap;
      text-align: center;

      img {
        width: 50%;
        height: 80%;
        margin: 0 auto;
      }

      span {
        width: 100%;
        height: 30px;
        font-size: 13px;
        font-weight: 800;
        text-align: center;
        margin-top: 10px;
      }
    }
  }
}
</style>